package com.tiger.communal.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.tiger.common.annotation.Excel;
import com.tiger.common.core.domain.BaseEntity;

/**
 * 代营公司附件对象 common_agency_enclosure
 *
 * @author tiger
 * @date 2022-09-13
 */
@EqualsAndHashCode(callSuper = false)
@Data
@ApiModel(value = "common_agency_enclosure对象", description = "代营业公司附件")
public class CommonAgencyEnclosure extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 代营业公司id */
    @Excel(name = "代营业公司id")
    @ApiModelProperty(value = "代营业公司id")
    private Long agencyId;

    /** 附件名 */
    @Excel(name = "附件名")
    @ApiModelProperty(value = "附件名")
    private String name;

    /** 附件地址 */
    @Excel(name = "附件地址")
    @ApiModelProperty(value = "附件地址")
    private String url;

    /** 附件id */
    @Excel(name = "附件id")
    @ApiModelProperty(value = "附件id")
    private String enclosureId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;


}
